package com.echat.serviceapigateway.security.model.authorization;

import lombok.Builder;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.time.LocalDateTime;

/**
 * Created by chenmohan on 2018/08/31
 *
 * @description
 */
@Data
@Builder
public class Authorization {

    @Id
    private Long userId;

    private String authCode;

    @Column(name="create_datetime")
    private LocalDateTime createTime;

    @Column(name="modify_datetime")
    private LocalDateTime modifyTime;
}
